package bean;

import java.text.SimpleDateFormat;
public class VideoInfo {
    public String filename;
    public int fileLen;
    private String time;
    public String start_time;
    private int   type;  // 0 是下载的   1是录制的
    private boolean isChecked=false;


    public VideoInfo(int type) {
        this.type = type;
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getTime() {
        return time;
    }

    public void setTime(long t) {
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        time = df.format(t);
    }
    public int getFileLen() {
        return fileLen;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public void setFileLen(int fileLen) {
        this.fileLen = fileLen;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }
}